package www.openteam.com.contract.business;

import www.openteam.com.bean.AddDeliverNote;
import www.openteam.com.bean.ShipBus;
import www.openteam.com.bean.ShipBusList;
import www.openteam.com.bean.UpdateInfo;

/**
 * Created by Administrator on 2019-08-16.
 */

public class LoadListContract {

    public interface LoadListView {

        void getShioBusSucces(ShipBus shipBus);

        void getShipBusFail(String msg);

        void getShioBusListSucces(ShipBusList shipBusList);

        void getShipBusListFail(String msg);

        void addDeliverNoteSucces(AddDeliverNote addDeliverNote);

        void addDeliverNoteFail(String msg);

        void updateDlertNoteSuccess(UpdateInfo msg);

        void updateDlertNoteFail(String info);

        void deleteDeliverNoteSuccess(UpdateInfo msg );

        void deleteDeliverNoteFail(String info );

        void deleteLoadingListNoteSuccess(UpdateInfo msg );

        void deleteLoadingListNoteFail(String info );

        void auditSuccess(UpdateInfo info);

        void auditFail(String msg);

        void unauditSuccess(UpdateInfo info);

        void unauditFail(String msg);
    }

    public interface LoadListPrst {

        void getShipBus(String rdsno);

        void getShipBusList(String zbid);

        void addDeliverNote(String rdsno);

        void insertDlertNote(String group,String old_group);

        void deleteDeliverNote(String id );

        void deleteLoadingListNote(String id );

        void audit(String id,String checker,String checkDate);

        void unaudit(String id);


    }
}
